package com.igoal.dto;

import java.io.Serializable;
import java.util.List;

/**
 * Support paging in DWR service
 * 
 */
public class DWRPageDTO<T> implements Serializable {
	private static final long serialVersionUID = -2419384153649068513L;
	private int pageNumber;
	private int totalPage;
	private List<T> items;

	public int getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<T> getItems() {
		return items;
	}

	public void setItems(List<T> items) {
		this.items = items;
	}

}
